package com.tedu.pojo;
/**Emp实体类*/
public class Emp {
    private Integer ID;
    private String Name;
    private Integer Salary;
    private int Age;

    public Emp(Integer ID, String name, Integer salary, int age) {
        this.ID = ID;
        Name = name;
        Salary = salary;
        Age = age;
    }

    public Emp() {
    }

    public Emp(String name, Integer salary, int age) {
        Name = name;
        Salary = salary;
        Age = age;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "ID=" + ID +
                ", Name='" + Name + '\'' +
                ", Salary=" + Salary +
                ", Age=" + Age +
                '}';
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public Integer getSalary() {
        return Salary;
    }

    public void setSalary(Integer salary) {
        Salary = salary;
    }

    public int getAge() {
        return Age;
    }

    public void setAge(int age) {
        Age = age;
    }
}
